package org.example.datasource.model;

import java.util.List;

public class TableMetadata {
    private String tableName;

    private String ip;

    private String port;

    private String databaseName;
    private List<FieldMetadata> fields;

    public List<FieldMetadata> getFields() {
        return fields;
    }

    public void setFields(List<FieldMetadata> fields) {
        this.fields = fields;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }
}
